#ifndef __TIFFILEDATA_H__
#define __TIFFILEDATA_H__
#include "stdafx.h"
#include "FreeImage.h"

#pragma comment(lib,"FreeImage.lib")

class TIFfileData
{
public:
	TIFfileData(const char* srcFileName, const char* dstFileName);
	~TIFfileData();

private:
	bool loadTIFfile(const char *fileName, const char* dstFileName);
	void proceePage(FIBITMAP* pPage);
	void processFileData();

private:
	FIMULTIBITMAP *m_pSrcTIFfile;
	FIMULTIBITMAP *m_pDstTIFfile;
	unsigned int m_unPageCount;
	FIBITMAP** m_pAyPage;
};
#endif
